package com.example.disinfestation.mapper;


import com.example.disinfestation.entity.Pest;
import com.example.disinfestation.entity.example.PestExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PestMapper {
    int countByExample(PestExample example);

    int deleteByExample(PestExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Pest record);

    int insertSelective(Pest record);

    List<Pest> selectByExample(PestExample example);

    Pest selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Pest record, @Param("example") PestExample example);

    int updateByExample(@Param("record") Pest record, @Param("example") PestExample example);

    int updateByPrimaryKeySelective(Pest record);

    int updateByPrimaryKey(Pest record);

    List<Pest> selectAll();
}